<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}netclass.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
</head>
<body>
{template "content","header_common"}
<div id="page">

<div id="contentbox">

<div id="boardbox">
	<div class="toppage">
		<div class="leftside">
			<span class="commend">
				<h3><span class="sp_r"></span><span class="sp_l"></span>
					<span class="tab">
						<a href="index.php?m=content&c=index&a=lists&catid=106" class="focus" id="tt_106" onmouseover="toggle_display(106,'107')">初中</a> | 
						<a href="index.php?m=content&c=index&a=lists&catid=107" id="tt_107" onmouseover="toggle_display(107,'106')">高中</a>
					</span>
					<span class="title">公开课视频</span>
				</h3>
				<span class="outerbox" id="tab_106">
				{pc:content action="lists" catid="106" thumb="1" num="4" siteid="$siteid" order="id DESC"}
				{php $dcount = count($data);}
				{loop $data $r}
					{if $n<3}
					{if $n==1}<span class="imgbox">{/if}
					<span>
						<a href="{$r[url]}" title="{$r[title]}" target="_blank">
							<img src="{thumb($r[thumb],130,106)}" alt="{$r[title]}" />
						</a>
						<p>{str_cut($r[title],60)}</p>
					</span>
					{if $dcount>1 && $n>1}</span>{elseif $dcount==1 && $n==1}</span>{/if}
					{else}
					{if $n==3}<ul>{/if}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
					{if $n==$dcount}</ul>{/if}
					{/if}
				{/loop}
				{/pc}
				</span><!-- css class outerbox end -->
				
				<span class="outerbox" id="tab_107" style="display:none;">
				{pc:content action="lists" catid="107" thumb="1" num="4" siteid="$siteid" order="id DESC"}
				{php $dcount = count($data);}
				{loop $data $r}
					{if $n<3}
					{if $n==1}<span class="imgbox">{/if}
					<span>
						<a href="{$r[url]}" title="{$r[title]}" target="_blank">
							<img src="{thumb($r[thumb],130,106)}" alt="{$r[title]}" />
						</a>
						<p>{str_cut($r[title],60)}</p>
					</span>
					{if $dcount>1 && $n>1}</span>{elseif $dcount==1 && $n==1}</span>{/if}
					{else}
					{if $n==3}<ul>{/if}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
					{if $n==$dcount}</ul>{/if}
					{/if}
				{/loop}
				{/pc}
				</span><!-- css class outerbox end -->
			</span><!-- css class commend end -->
			
			<span class="media">
				<h3><span class="sp_r"></span>
					<a href="index.php?m=content&c=index&a=lists&catid=124">更多</a>
					<span class="sp_l"></span><span class="title">媒体报道</span>
				</h3>
				<span class="datalist">
					{pc:content action="lists" catid="124" num="6" siteid="$siteid" order="id DESC"}
					<ul>
					{loop $data $r}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
					{/loop}
					</ul>
					{/pc}
				</span>
			</span>
		</div>
		
		<div class="activeinfo">
			<h3 class="maintitle"><span class="sp_r"></span>
				<a href="index.php?m=content&c=index&a=lists&catid=20">更多</a>
				<span class="sp_l"></span><span class="title">教学安排</span>
			</h3>
			<span class="outbox">
				<span class="datalist">
					{pc:content action="lists" catid="20" thumb="1" num="7" siteid="$siteid" order="id DESC"}
					{loop $data $r}
					{if $n==1}
					<span class="imgbox">
					<a href="{$r[url]}" title="{$r[title]}" target="_blank">
						<img src="{thumb($r[thumb],130,110)}" alt="{$r[title]}" />
					</a>
					</span>
					<ul>
					{else}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
					{/if}
					{/loop}
					{if $data}</ul>{/if}
					{/pc}
				</span>
				<b></b>
				<h3 class="secondtitle">
					<a href="index.php?m=member&c=index&a=register&siteid={$siteid}">
						<img src="{IMG_PATH}2zwx/application_plate_g.gif">
					</a>
					<span class="title">活动安排</span>
				</h3>
				<span class="bluebg">
					{pc:content action="lists" catid="21" thumb="1" num="7" siteid="$siteid" order="id DESC"}
					{loop $data $r}
					{if $n==1}
					<span class="imgbox">
					<a href="{$r[url]}" title="{$r[title]}" target="_blank">
						<img src="{thumb($r[thumb],130,110)}" alt="{$r[title]}" />
					</a>
					</span>
					<ul>
					{else}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
					{/if}
					{/loop}
					{if $data}</ul>{/if}
					{/pc}
				</span>
				<span class="clear">&nbsp;</span>
			</span>
		</div>
		
		<div class="rightside">
			<span class="excellence">
				<h3><span class="sp_r"></span>
					<a href="index.php?m=content&c=index&a=lists&catid=85" target="_blank">更多</a>
					<span class="sp_l"></span><span class="title">优秀教师</span>
				</h3>
					{pc:content action="lists" catid="85" thumb="1" num="1" siteid="$siteid" order="id DESC"}
					{loop $data $r}
					<span class="databox">
						<a href="{$r[url]}" target="_blank">
						<img alt="{$r[title]}" src="{thumb($r[thumb],114,130)}">
						</a>
						<span class="infomation">
						<p><strong>{$r[ts_name]}</strong></p>
						<p><strong>执教科目：</strong>{$r[ts_class]}</p>
						<p><strong>简介：</strong>{str_cut($r[description],60,'')}</p>
						</span>
<span class="clear"></span>
					</span>
					{/loop}
					{/pc}

			</span>
			
			<span class="arrange">
				<h3><span class="sp_r"></span>
					<a href="index.php?m=courses&c=index&a=show&siteid={$siteid}">更多</a>
					<span class="sp_l"></span><span class="title">课程安排</span>
				</h3>
                <span class="listbox">
                <div class="today">
					<span></span>
					{php $start_date = $end_date = date("Y-m-d", SYS_TIME);}
					<p>课程日期 {$start_date}</p>
					{pc:courses  action="lists" startdate="$start_date" enddate="$end_date" order="ctime ASC" num="2"}
					{loop $data $v}
					<p>{$v[cname]}&nbsp;&nbsp;{$v[cstime]}&nbsp;&nbsp;[{$v[csname]}]</p>
					{/loop}
					{/pc}
				</div>
				<div class="torm">
					<span></span>
					{php $start_date = $end_date = date("Y-m-d", SYS_TIME + 24*3600);}
					<p>课程日期 {$start_date}</p>
					{pc:courses  action="lists" startdate="$start_date" enddate="$end_date" order="ctime ASC" num="2"}
					{loop $data $v}
					<p>{$v[cname]}&nbsp;&nbsp;{$v[cstime]}&nbsp;&nbsp;[{$v[csname]}]</p>
					{/loop}
					{/pc}
				</div>
				</span>
			</span><!--span css class arrange end -->
		</div>
	</div>
	
	<div class="ad">
	<script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=15"></script>
	</div>
	
	<div class="secondpage">
		<div class="leftside">
			<span class="netclass">
				<h3><span class="sp_r">
					</span><a href="index.php?m=content&c=index&a=lists&catid=24">更多</a>
					<span class="sp_l"></span>
					<span class="title">网校课程</span>
				</h3>
				<span class="datalist">
					{pc:content action="lists" catid="24" num="6" siteid="$siteid" order="id DESC"}
					<ul>
					{loop $data $r}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
					{/loop}
					</ul>
					{/pc}
				</span>
			</span>
			
			<span class="study">
				<h3><span class="sp_r">
					</span><a href="index.php?m=content&c=index&a=lists&catid=271">更多</a>
					<span class="sp_l"></span>
					<span class="title">延伸学习</span>
				</h3>
				<span class="datalist">
					{pc:content action="lists" catid="271" num="6" siteid="$siteid" order="id DESC"}
					<ul>
					{loop $data $r}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
					{/loop}
					</ul>
					{/pc}
				</span>
			</span>
			
			<span class="help">
				<h3><span class="sp_r">
					</span><a href="index.php?m=content&c=index&a=lists&catid=109">更多</a>
					<span class="sp_l"></span>
					<span class="title">入学指南</span>
				</h3>
				<span class="listbox">
					<img alt="入学指南" title="入学指南" src="{IMG_PATH}2zwx/second/netschool_bg.jpg">
					{pc:content action="lists" catid="109" num="9" siteid="$siteid" order="id DESC"}
					<ul>
					{loop $data $r}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
					{/loop}
					</ul>
					{/pc}
				</span>
			</span>
		</div>
		
		<div class="rightside">
			<span class="teacher">
				<h3><span class="sp_r"></span><span class="sp_l"></span>
					<a href="index.php?m=content&c=index&a=lists&catid=32">更多</a>
					<span class="title">师资力量</span>
				</h3>
				<span class="listbox">
					{pc:content action="lists" catid="32" thumb="1" num="6" siteid="$siteid" order="id DESC"}
					{loop $data $r}
					<span>
					<a href="index.php?m=content&c=index&a=lists&catid=234&tid={$r[id]}" title="{$r[title]}" target="_blank">
						<img alt="{$r[title]}" src="{thumb($r[thumb],100,80)}" />
					</a>
					<p><a href="index.php?m=content&c=index&a=lists&catid=234&tid={$r[id]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></p>
					</span>
					{/loop}
					{/pc}
				</span>
			</span>
			
			<span class="boardbox">
				<span class="board_01">
					<h3><span class="sp_r"></span>
						<a href="index.php?m=content&c=index&a=lists&catid=17">更多</a>
						<span class="sp_l"></span><span class="title">课堂解答</span>
					</h3>
					<span class="databox">
					{pc:content action="lists" catid="17" num="6" siteid="$siteid" order="id DESC"}
					<ul>
					{loop $data $r}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],40)}</a></li>
					{/loop}
					</ul>
					{/pc}
					</span>
				</span>
				
				<span class="board_02">
					<h3><span class="sp_r"></span>
						<a href="index.php?m=content&c=index&a=lists&catid=128">更多</a>
						<span class="sp_l"></span><span class="title">课堂试题</span>
					</h3>
					<span class="databox">
					{pc:content action="lists" catid="128" num="6" siteid="$siteid" order="id DESC"}
					<ul>
					{loop $data $r}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],40)}</a></li>
					{/loop}
					</ul>
					{/pc}
					</span>
				</span>
				
				<span class="board_03">
					<h3><span class="sp_r"></span>
						<a href="index.php?m=content&c=index&a=lists&catid=16">更多</a>
						<span class="sp_l"></span><span class="title">线上复习</span>
					</h3>
					<span class="databox">
					{pc:content action="lists" catid="16" num="6" siteid="$siteid" order="id DESC"}
					<ul>
					{loop $data $r}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],40)}</a></li>
					{/loop}
					</ul>
					{/pc}
					</span>
				</span>
				<span class="clear"></span>
			</span>
			
			<span class="clear"></span>
			
			<span class="stushowbox">
				<span class="stushow">
					<h3><span class="sp_r"></span>
						<a href="index.php?m=content&c=index&a=lists&catid=110">更多</a>
						<span class="sp_l"></span><span class="maintitle">学员展示</span>
					</h3>
					<span class="imgbox">
					{pc:content action="lists" catid="110" thumb="1" num="3" siteid="$siteid" order="id DESC"}
					{loop $data $r}
					<span>
					<a href="{$r[url]}" title="{$r[title]}" target="_blank">
						<img alt="{$r[title]}" src="{thumb($r[thumb],100,80)}" />
					</a>
					<p><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></p>
					</span>
					{/loop}
					{/pc}
					</span>
					<span class="title"><a href="index.php?m=content&c=index&a=lists&catid=19">更多</a>学员文章</span>
					<span class="data">
					{pc:content action="lists" catid="19" num="8" siteid="$siteid" order="id DESC"}
					{loop $data $r}
					{if $n==1}					
					<a href="{$r[url]}" title="{$r[title]}" target="_blank">
						<img alt="{$r[title]}" src="{thumb($r[thumb],160,150)}" />
					</a>
					<ul>
					{else}
					<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],50)}</a></li>
					{/if}
					{/loop}
					{if $data}</ul>{/if}
					{/pc}
					</span>
					<span class="clear">&nbsp;</span>
				</span>
				
				<span class="download">
					<span class="innerborder">
						<h3><a href="index.php?m=content&c=index&a=lists&catid=14">更多</a>资源下载</h3>
						<span class="title">最新试题</span>
						{pc:content action="lists" catid="27" num="5" siteid="$siteid" order="id DESC"}
						<ul>
						{loop $data $r}
						<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></li>
						{/loop}
						</ul>
						{/pc}
						<span class="title">网校视频</span>
						<span class="videobox">
						{pc:content action="lists" catid="28" thumb="1" num="2" siteid="$siteid" order="id DESC"}
						{loop $data $r}
						<span>
						<a href="{$r[url]}" title="{$r[title]}" target="_blank">
							<img alt="{$r[title]}" src="{thumb($r[thumb],100,80)}" />
						</a>
						<p><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60)}</a></p>
						</span>
						{/loop}
						{/pc}
						</span>
					</span>
				</span>
			</span>
		</div>
	</div>
</div><!-- css id boardbox end -->
<script language="JavaScript">
<!--
	function toggle_display(showid, hideids)
	{
		//隐藏元素
		if (hideids=='undefined'){
			var hide_arr = hideids.split(',');
			var hide_len = hide_arr.length;
			for(i=0;i<hide_len;i++)
			{
				$('#tt_'+hide_arr[i]).attr('class', '');
				$('#tab_'+hide_arr[i]).css('display', 'none');
			}
		} else {
			//取得同级元素
			var siblings =$('#tt_' + showid).siblings();
			var siblings_len = siblings.length;
			for(i=0;i<siblings_len;i++)
			{
				var hide_id = siblings.eq(i).attr('id');
				var id_index = hide_id.lastIndexOf('_') + 1;
				var id_num = hide_id.substring(id_index);
				$('#tt_'+id_num).attr('class', '');
				$('#tab_'+id_num).css('display', 'none');
			}
		}
		//显示元素
		$('#tt_'+showid).attr('class', 'focus');
		$('#tab_'+showid).css('display', 'block');
	}
-->
</script>
{template "content","footer_cat"}
</div>
